package cn.tedu.mintmall.mapper;
import cn.tedu.mintmall.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    //注册用户
    Integer insertOne(User user);
    //登录验证
    User selectByLogin(String userName);
}
